#define TE_NEW new

#define TE_ERROR( m ) { MessageBox( nullptr, ( m ), L"Error", MB_OK ); }

#define TE_DELETE( p ) { if( p ) { delete( p ); ( p )=nullptr; } }